package it.scambiocorse.dao;

import java.util.ArrayList;
import java.util.HashMap;

import it.scambiocorse.model.FeedBackType;
import it.scambiocorse.model.JTableType;

public interface FeedbackService {
	
	public int inserisciFeedback(FeedBackType feed) throws Exception;
	public ArrayList<FeedBackType> listaFeedbackPendingOut(int idUser) throws Exception;
	public ArrayList<FeedBackType> listaFeedbackPendingIn(int idUser) throws Exception;
	public ArrayList<FeedBackType> listaFeedbackOut(int idUser) throws Exception;
	public ArrayList<FeedBackType> listaFeedbackIn(int idUser) throws Exception;
	public int pendingIn(int idUser) throws Exception;
	public int pendingOut(int idUser) throws Exception;
	public FeedBackType getFeedback(int idFeed)throws Exception;
	public FeedBackType getFeedbackOut(int idUser, int idServ)throws Exception;
	public FeedBackType getFeedbackIn(int idUser, int idServ) throws Exception;
	public HashMap listaFeedbackJTable(int iduser, JTableType jTfilter)throws Exception;


}
